#!/usr/bin/env  node

const koa=require('koa');
const app=new koa(),
      bp=require('koa-bodyparser'),
      tasks=require('./routes/tasks.js'),
      log=console.log;


 
app.use(bp({enableTypes:['json','form','text']}))
app.use(tasks.routes());

app.listen(8080);
